'''利用time库将当前日期时间转化为类似“Sunday，8，January 2017 11:03PM”的格式。'''
import time
t = time.localtime()
newT = time.strftime('%A，%d.%B %Y %I：%M%p',t)
print(newT)
